<div class="box-body">
    <input type="hidden" class="form-control" name="cid" id="tag" value="{$data.cid}" autofocus>
    <div class="form-group">
        <label>权限规则</label>
        <input type="text" name="name" class="form-control" placeholder="Enter the url，example: admin.index.index" value="{$data['name']?$data['name']:''}">
    </div>
    <div class="form-group">
        <label>权限名称</label>
        <input type="text" name="label" class="form-control" placeholder="Enter permission name" value="{$data['label']?$data['label']:''}">
    </div>
    <if condition="$data.cid eq 0">
        <div class="form-group">
            <label>图标</label><br/>
            <!-- Button tag -->
            <button class="btn btn-default" name="icon" data-iconset="fontawesome" data-icon="{$data['icon']?$data['icon']:'fa-sliders'}" role="iconpicker"></button>
        </div>
    </if>
    <div class="form-group">
        <label>权限概述</label>
        <textarea class="form-control" name="description" rows="3" placeholder="Enter description">{$data['description']?$data['description']:''}</textarea>
        <p class="help-block"></p>
    </div>
</div>
<!-- /.box-body -->